<template>
  <div>
    <hm-form ref="myForm"></hm-form>

    <button @click="submit">提交按钮</button>
  </div>
</template>
 
<script>
import HmForm from './修改内容.vue'
export default {
  components: {
    HmForm
  },
  methods: {
    submit() {
      this.$refs.myForm.submit()
    }
  }
}
</script>

<style scoped>
</style>